package com.tony.util.utils;

import java.util.Map;

public class PageUtil {
    public static void addPage(Map<String,Object> hashMap, int currentPage, int pageSize){
        hashMap.put("start",currentPage*pageSize);
        hashMap.put("length",pageSize);
    }
}
